﻿using System;
using SharpSqlAnalyzer.nodes;

namespace SharpSqlAnalyzer.stmt.redshift
{
	// Token: 0x02000115 RID: 277
	public class TRedshiftExplain : TCustomSqlStatement
	{
		// Token: 0x06000904 RID: 2308 RVA: 0x00302D16 File Offset: 0x00300F16
		public TRedshiftExplain(EDbVendor dbvendor) : base(dbvendor)
		{
			this.sqlstatementtype = ESqlStatementType.sstExplain;
		}

		// Token: 0x06000905 RID: 2309 RVA: 0x00302D27 File Offset: 0x00300F27
		public override int doParseStatement(TCustomSqlStatement psql)
		{
			if (this.rootNode == null)
			{
				return -1;
			}
			base.doParseStatement(psql);
			return 0;
		}

		// Token: 0x06000906 RID: 2310 RVA: 0x00302D3C File Offset: 0x00300F3C
		public override void accept(TParseTreeVisitor v)
		{
			v.preVisit(this);
			v.postVisit(this);
		}

		// Token: 0x06000907 RID: 2311 RVA: 0x00302D4C File Offset: 0x00300F4C
		public override void acceptChildren(TParseTreeVisitor v)
		{
			v.preVisit(this);
			v.postVisit(this);
		}
	}
}
